package net.brokenroad.gamma.net;

public class ConnectionInfo
{
	String hostname;

	int port;

	public ConnectionInfo()
	{
		hostname = "";
		port = 0;
	}

	/**
	 * @param hostname
	 * @param port
	 */
	public ConnectionInfo(String hostname, int port)
	{
		this.hostname = hostname;
		this.port = port;
	}

	/**
	 * @return the hostname
	 */
	public String getHostname()
	{
		return hostname;
	}

	/**
	 * @param hostname
	 *          the hostname to set
	 */
	public void setHostname(String hostname)
	{
		this.hostname = hostname;
	}

	/**
	 * @return the port
	 */
	public int getPort()
	{
		return port;
	}

	/**
	 * @param port
	 *          the port to set
	 */
	public void setPort(int port)
	{
		this.port = port;
	}

}
